Pngx\Utilities\Dates\Utils D

Total Complexity 182
Dependencies 16
Dependents 0
Total lines 1,363
Lines of code 637
Logical lines of code 356
Comment lines 496
Methods 46
Properties 5

Methods 46

Method Rating Maintainability Complexity Lines of code
datetime_from_format()
A
40 13 57
wp_locale_weekday()
A
43 12 51
wp_locale_month()
A
44 9 46
get_shifted_start_of_day()
A
48 10 30
get_shifted_end_of_day()
A
48 10 30
build_date_object()
A
50 10 28
get_weekday_timestamp()
A
53 9 22
get_week_start_end()
A
46 8 37
get_modifier_from_offset()
S
55 6 20
range_coincides()
S
63 7 10
get_first_day_of_week_in_month()
S
65 7 7
wp_strtotime()
S
52 5 24
immutable()
S
55 5 20
datepicker_formats()
S
48 3 32
maybe_format_from_datepicker()
S
61 4 13
get_localized_months_full()
S
53 3 23
get_localized_months_short()
S
53 3 23
is_all_day()
S
73 4 4
is_timestamp()
S
69 4 6
reformat()
S
71 3 5
number_to_ordinal()
S
71 3 4
get_last_day_of_week_in_month()
S
65 3 7
date_only()
S
68 3 7
get_localized_weekdays_short()
S
71 2 6
get_localized_weekdays_full()
S
71 2 6
build_localized_weekdays()
S
64 2 9
build_localized_months()
S
63 2 9
get_localized_weekdays_initial()
S
71 2 6
week_ends_on()
S
71 2 6
last_day_in_month()
S
65 2 9
first_day_in_month()
S
65 2 9
is_valid_date()
S
63 2 10
interval()
S
67 2 8
meridian_only()
S
74 2 4
minutes_only()
S
74 2 4
hour_only()
S
74 2 4
time_only()
S
74 2 4
unescape_date_format()
S
70 2 6
get_datepicker_format_index()
S
78 1 3
is_weekend()
S
77 1 3
is_weekday()
S
76 1 3
get_last_day_of_month()
S
66 1 7
date_diff()
S
74 1 4
time_between()
S
78 1 3
round_nearest_half_hour()
S
71 1 5
mutable()
S
78 1 3